#ifndef __CRC_KTI_H__
#define __CRC_KTI_H__

// CRC��� �Լ� (Char* ���·� ��ȯ)
void GenerateCRC(unsigned char *pData, int nDataLen, unsigned char* pCrc);
int CheckCRC(unsigned char *pData, int nDataLen, const unsigned char* pCrc);

// CRC��� �Լ� (unsigned short ���·� ��ȯ)
unsigned short GenerateCRCShort(unsigned char *pData, int nDataLen);
int CheckCRCShort(unsigned char *pData, int nDataLen, unsigned short sCrc);

#endif // __CRC_16_H__
